keyCode

abstract fun keyCode(): KeyCode

Returns the code of the key.